package com.crr.mall.product.dao;

import com.crr.mall.product.entity.SkuSaleAttrValueEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.crr.mall.product.vo.AttrVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * sku销售属性&值
 * 
 * @author chenrenren
 * @email chenrenren@gmail.com
 * @date 2024-11-22 14:50:19
 */
@Mapper
public interface SkuSaleAttrValueDao extends BaseMapper<SkuSaleAttrValueEntity> {

    int saveValues(@Param("skuId") Long skuId, @Param("attr") List<AttrVO> attr);
}
